package collection;

public class Teacher {
    String name;
    int id;
    int ag;
    public Teacher(){

    }

    public Teacher(String name, int id, int ag) {
        this.name = name;
        this.id = id;
        this.ag = ag;
    }

    public String getName() {
        return name;
    }

    public int getId() {
        return id;
    }

    public int getAg() {
        return ag;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setAg(int ag) {
        this.ag = ag;
    }
}
